<%@ page import="farmaweb.Funcionario" %>



<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="funcionario.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" maxlength="50" required="" value="${funcionarioInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'cpf', 'error')} ">
	<label for="cpf">
		<g:message code="funcionario.cpf.label" default="Cpf" />
		
	</label>
	<g:textField name="cpf" maxlength="14" value="${funcionarioInstance?.cpf}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'rg', 'error')} ">
	<label for="rg">
		<g:message code="funcionario.rg.label" default="Rg" />
		
	</label>
	<g:textField name="rg" maxlength="20" value="${funcionarioInstance?.rg}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'fone', 'error')} ">
	<label for="fone">
		<g:message code="funcionario.fone.label" default="Fone" />
		
	</label>
	<g:textField name="fone" maxlength="15" value="${funcionarioInstance?.fone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="funcionario.email.label" default="Email" />
		
	</label>
	<g:field type="email" name="email" value="${funcionarioInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'logradouro', 'error')} ">
	<label for="logradouro">
		<g:message code="funcionario.logradouro.label" default="Logradouro" />
		
	</label>
	<g:textField name="logradouro" maxlength="50" value="${funcionarioInstance?.logradouro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'numero', 'error')} ">
	<label for="numero">
		<g:message code="funcionario.numero.label" default="Numero" />
		
	</label>
	<g:textField name="numero" maxlength="5" value="${funcionarioInstance?.numero}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'complemento', 'error')} ">
	<label for="complemento">
		<g:message code="funcionario.complemento.label" default="Complemento" />
		
	</label>
	<g:textField name="complemento" maxlength="25" value="${funcionarioInstance?.complemento}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'bairro', 'error')} ">
	<label for="bairro">
		<g:message code="funcionario.bairro.label" default="Bairro" />
		
	</label>
	<g:textField name="bairro" maxlength="25" value="${funcionarioInstance?.bairro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'cidade', 'error')} ">
	<label for="cidade">
		<g:message code="funcionario.cidade.label" default="Cidade" />
		
	</label>
	<g:textField name="cidade" maxlength="30" value="${funcionarioInstance?.cidade}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'uf', 'error')} ">
	<label for="uf">
		<g:message code="funcionario.uf.label" default="Uf" />
		
	</label>
	<g:textField name="uf" maxlength="2" value="${funcionarioInstance?.uf}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'cep', 'error')} ">
	<label for="cep">
		<g:message code="funcionario.cep.label" default="Cep" />
		
	</label>
	<g:textField name="cep" maxlength="9" value="${funcionarioInstance?.cep}"/>
</div>

